package Practice08;

public class Student {
    private String name;
    private int age;
    private int sid;
    public static int coutNumberOfStudent = 0;
    public Student (String name,int age){
        this.name = name;
        this.age= age;
        this.sid = ++coutNumberOfStudent;
    }
    public void show(){
        System.out.println("Student : name=" + name + ", age=" + age + ", sid=" + sid );
    }
    public static void showNumber(){
        System.out.println("coutNumberOfStudent="+coutNumberOfStudent);
    }
}

